package com.xiaoshuidi.cloud.module.iot.service;


import com.xiaoshuidi.cloud.module.iot.dal.model.callback.YunDingDeviceCallbackReqVO;
import com.xiaoshuidi.cloud.module.iot.dal.model.callback.YunDingDeviceEventReqVO;

/**
 * @author Carl
 * create 2020/7/21
 * email Carl.Sun@ixiaoshuidi.com
 **/
public interface YunDingCallbackService {

    /**
     * 云丁回调处理
     *
     * @param yunDingDeviceCallbackReqVO
     */
    void disposeCallback(YunDingDeviceCallbackReqVO yunDingDeviceCallbackReqVO) throws Exception;

    /**
     * 云丁事件处理
     *
     * @param yunDingDeviceEventReqVO
     */
    void disposeEvent(YunDingDeviceEventReqVO yunDingDeviceEventReqVO) throws Exception;
}
